<?php
class IndexController extends Zend_Controller_Action
{
    protected $_flashMessenger = null;

    public function init()
    {
        $this->_flashMessenger = $this->_helper->getHelper('FlashMessenger');
        $this->initView();
    }
    	
	function indexAction()
	{
        $this->view->flash = $this->_flashMessenger->getMessages();
	}
}
?>